package com.zjitc.pigspring.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zjitc.pigspring.bean.po.EChartsVO;
import com.zjitc.pigspring.bean.po.Seller;
import com.zjitc.pigspring.mapper.SellerMapper;
import com.zjitc.pigspring.service.SellerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SellerServiceImpl extends ServiceImpl<SellerMapper, Seller> implements SellerService {

    @Autowired
    private SellerMapper sellerMapper;
    @Override
    public List<EChartsVO> getTop(Integer number) {
        return sellerMapper.getTop(number);
    }
}
